Http://msdn.microsoft.com/en-us/library/ms775147.aspx
MIME type detection in Internet Explorer
In Microsoft Internet Explorer 4.0 and later, MIME type determination occurs in URL monikers through the findmimefromdata method. determining the
Introduction
A MIME type is a type of file that sets an extension that is opened by an application, and the browser automatically opens with the specified application when the extension file is accessed. Many are used to specify some
Tutorial
Https://www.cnblogs.com/jsean/articles/1610265.htmlHttps://developer.mozilla.org/zh-CN/docs/Web/HTTP/Basics_of_HTTP/MIME_typesRecently in reading Golang source code, see mime.go This file, a little to read.
About MIME
MIME, mutipurpose
[1] common MIME types (general type): hypertext markup language text. HTML text/htmlxml document. XML text/xmlxhtml document. XHTML application/XHTML + XML plain text. TXT text/plainrtf text. RTF application/rtfpdf document. PDF
The contentprovider class has two methods that can return the MIME type:
GetType ()
You must provide one of the necessary methods for implementation.
Getstreamtypes ()
If your provider provides files, you are expected to implement this method.
Mime
(Welcome to join the android technology exchange QQ group: 209796692)
Implement the contentprovider MIME type
Contentprovider has two methods to return the MIME type.
GetType ()
A method to be implemented for any provider.
Getstreamtypes ()
If
Php accurately obtains the object MIME type
This example describes how php can accurately obtain the object MIME type. Share it with you for your reference. The specific implementation method is as follows:
?
1 2 3 4 5 6 7 8 9 10 11 12
Multi-purpose Internet Mail Extension (MIME,Multipurpose Internet Mail Extensions)
Before mime is introduced, RFC 822 can only send basic ASCII code text information. It is very difficult to implement the content of an email, such as binary files,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.